//
//  BDUserInfoTableViewCell.m
//  BadBoy
//
//  Created by wen on 2017/6/6.
//  Copyright © 2017年 com.8xiong. All rights reserved.
//

#import "BDUserInfoTableViewCell.h"

@implementation BDUserInfoTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    style = UITableViewCellStyleSubtitle;
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    
    self.textLabel.font = [UIFont systemFontOfSize:17];
    self.textLabel.textColor = [UIColor colorWithHexString:@"#1c1c1c"];
    [self.textLabel sizeToFit];
    self.textLabel.left = 15;
    self.textLabel.centerY = self.height / 2.0;
    
    self.detailTextLabel.font = [UIFont systemFontOfSize:14];
    self.detailTextLabel.textColor = [UIColor colorWithHexString:@"#808080"];
    [self.detailTextLabel sizeToFit];
    self.detailTextLabel.width = kBDScreenWidth - 105 - 30;
    self.detailTextLabel.left = 105;
    self.detailTextLabel.centerY = self.height / 2.0;
}

@end
